package modules

type ContainerWrapperProps struct {
	Title       string
	Description string
	ID          string
}

templ ContainerWrapper(p ContainerWrapperProps) {
	<div id={ p.ID } class="flex flex-col items-center mb-16">
		<div class="w-full">
			<h2 class="text-2xl font-semibold mb-4">{ p.Title }</h2>
			if p.Description != "" {
				<p class="mb-4">{ p.Description }</p>
			}
		</div>
		<div class="w-full space-y-8">
			{ children... }
		</div>
	</div>
}
